import Vue from "vue";
import Vuex from "vuex";
import { http } from "../components/js_sdk/luch-request/index";
import qs from "../node_modules/qs";
Vue.use(Vuex);

const store = new Vuex.Store({
  state: {
    user: "",
    isM: ""
  },
  mutations: {
    setUser(state, p) {
      state.user = p;
    },
    showM(state, p) {
      state.isM = p;
    }
  },
  actions: {}
});

export default store;
